﻿using InnoWeb.CEND.Core.Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnoWeb.CEND.Core.Model.Localization
{
    public class Language : BaseEntity<int>
    {
        public virtual string Name { get; set; }

        public virtual string LanguageCulture { get; set; }

        public virtual string FlagImageFileName { get; set; }

        public virtual int DisplayOrder { get; set; }

        private IList<LocaleStringResource> _localeStringResources;

        public IList<LocaleStringResource> LocaleStringResource
        {
            get { return _localeStringResources ?? (_localeStringResources = new List<LocaleStringResource>()); }
            protected set { _localeStringResources = value; }
        }
        
    }
}
